<?php echo $header; ?>
<div class="login-boxtitle">
			<a href="<?php echo $home?>"><img alt="logo" src="<?php echo $logo;?>" class="myimg"/></a>
		</div>

		<div class="login-banner">
			<div class="login-main">
				<div class="login-banner-bg"><span></span><img src="image/catalog/pyj/login/big.jpg" /></div>
				<div class="login-box">

							<h3 class="title">登录商城</h3>

							<div class="clear"></div>
						
						<div class="login-form">
						  <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data">
							   <div class="user-name">
								    <label for="user"><i class="am-icon-user"></i></label>
								    <input type="text" name="email" value="<?php echo $email; ?>" placeholder="<?php echo $entry_email; ?>">
                 </div>
                 <div class="user-pass">
								    <label for="password"><i class="am-icon-lock"></i></label>
								    <input type="password" name="password" value="<?php echo $password; ?>" placeholder="<?php echo $entry_password; ?>">
								    <?php if ($redirect) { ?>
              <input type="hidden" name="redirect" value="<?php echo $redirect; ?>" />
              <?php } ?>
                 </div>
           </div>
            
            <div class="login-links">
            <?php if ($success) { ?>
  <div class="am-alert am-alert-success" data-am-alert><button type="button" class="am-close">&times;</button><?php echo $success; ?></div>
  <?php } ?>
  <?php if ($error_warning) { ?>
  <div class="am-alert am-alert-warning" data-am-alert><button type="button" class="am-close">&times;</button><?php echo $error_warning; ?></div>
  <?php } ?></div><div class="am-cf">
									<input type="submit" value="<?php echo $button_login; ?>" class="am-btn am-btn-primary am-btn-sm">
								</div>
								</form>
						<div class="partner"><?php if($qq_login_url||$weixin_login_url||$weibo_login_url){?>	
								<h3>合作账号</h3>
							<div class="am-btn-group">
							<?php if(isset($qq_login_url)){?>
								<li><a href="<?php echo $qq_login_url;?>"><i class="am-icon-qq am-icon-sm"></i><span>QQ登入</span></a></li><?php }?>
								<?php if(isset($weibo_login_url)){?>
								<li><a href="<?php echo $weibo_login_url;?>"><i class="am-icon-weibo am-icon-sm"></i><span>微博登录</span> </a></li><?php }?>
								<?php if(isset($weixin_login_url)){?>
								<li><a href="<?php echo $weixin_login_url;?>"><i class="am-icon-weixin am-icon-sm"></i><span>微信登录</span> </a></li><?php }?>
							</div>
							<?php }?>
							<div class="bottom">
							<a href="<?php echo $register; ?>" class="register"><?php echo $text_register;?></a>
							<a href="<?php echo $forgotten; ?>"><?php echo $text_forgotten; ?> </a>
						</div>	
						</div>
				</div>
			</div>
		</div>
<?php echo $footer; ?>